]> dgit.raspbian.org Git - linux-4.9.git/commit
clk: bcm2835: Limit PCM clock to OSC and PLLD_PER
authorPhil Elwell <phil@raspberrypi.org>
Wed, 26 Apr 2017 16:28:47 +0000 (17:28 +0100)
committerPhil Elwell <phil@raspberrypi.org>
Wed, 26 Apr 2017 16:49:39 +0000 (17:49 +0100)
commitef3b440e0e4d9ca70060483aa33d5b1201ceceb8
tree48659f1bb9d19ab6c24fafc5e7ec33dc905cbdaf
parent8b68f431a6168c65f67f0c6b645e9c925f90a7c7
clk: bcm2835: Limit PCM clock to OSC and PLLD_PER

It is unwise to use sources other than the oscillator and PLLD_PER for
the PCM peripheral (and perhaps others - TBD) because their rate can
change and they may even be switched off, so explicitly restrict the
choice using dummy entries in the list of potential parents (item index
is significant).

See: https://github.com/raspberrypi/linux/issues/1949

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/clk/bcm/clk-bcm2835.c